package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 抗菌药物使用强度监控实体类
 * <p>Title: AntiDose</p>
 * <p>Description: </p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年5月25日 下午5:23:20
 */

@Entity
@Table(name=ConstSysParam.MODULE_CHECK_RESULT)
public class CheckResult extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="checkResultGenerator")
	@TableGenerator(name="checkResultGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_CHECK_RESULT,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	
	//阳性率
	private double positive_rate;

	public double getPositive_rate() {
		return positive_rate;
	}

	public void setPositive_rate(double positive_rate) {
		this.positive_rate = positive_rate;
	} 
	
	
	
}
